gtk4.git
11 years agomir: get/set window surface type
Marco Trevisan (Treviño) [Thu, 13 Nov 2014 03:42:48 +0000 (04:42 +0100)]
mir: get/set window surface type

11 years agomir: don't request more surface formats than the supported ones
Marco Trevisan (Treviño) [Thu, 13 Nov 2014 02:58:32 +0000 (03:58 +0100)]
mir: don't request more surface formats than the supported ones

11 years agoinspector: Show the refcount on the misc tab
Matthias Clasen [Thu, 13 Nov 2014 02:58:08 +0000 (21:58 -0500)]
inspector: Show the refcount on the misc tab

11 years agoinspector: Update misc-info while the tab is shown
Matthias Clasen [Thu, 13 Nov 2014 01:44:22 +0000 (20:44 -0500)]
inspector: Update misc-info while the tab is shown

Update the values on the page once per second, while the tab
is shown.

11 years agomir: implement screen get_plug_name
Marco Trevisan (Treviño) [Thu, 13 Nov 2014 01:26:38 +0000 (02:26 +0100)]
mir: implement screen get_plug_name

11 years agomir: clear screen objects correctly
Marco Trevisan (Treviño) [Thu, 13 Nov 2014 01:19:29 +0000 (02:19 +0100)]
mir: clear screen objects correctly

11 years agomir: don't crash when querying infos for an invalid monitor
Marco Trevisan (Treviño) [Thu, 13 Nov 2014 01:07:46 +0000 (02:07 +0100)]
mir: don't crash when querying infos for an invalid monitor

11 years agomir: clear screen data
Marco Trevisan (Treviño) [Thu, 13 Nov 2014 00:59:21 +0000 (01:59 +0100)]
mir: clear screen data

11 years agomir: correctly get screen mm sizes
Marco Trevisan (Treviño) [Thu, 13 Nov 2014 00:47:56 +0000 (01:47 +0100)]
mir: correctly get screen mm sizes

11 years agomir: unset config change callback on finalize
Marco Trevisan (Treviño) [Thu, 13 Nov 2014 00:34:10 +0000 (01:34 +0100)]
mir: unset config change callback on finalize

11 years agomir: actually pass the GdkMirScreen to display config change cb
Marco Trevisan (Treviño) [Thu, 13 Nov 2014 00:27:05 +0000 (01:27 +0100)]
mir: actually pass the GdkMirScreen to display config change cb

11 years agoGtkCssProvider: Load themes from versioned directories
Matthias Clasen [Thu, 13 Nov 2014 00:22:55 +0000 (19:22 -0500)]
GtkCssProvider: Load themes from versioned directories

Look for themes in $prefix/themes/$name/gtk-$version/ (for
version = 3.16, 3.14, ...), before using the old location
$prefix/themes/$name/gtk-3.0/. This gives theme authors a
way to support multiple versions of GTK+ 3 with separate
css files.

11 years agoGtkCssProvider: Factor out a function
Matthias Clasen [Wed, 12 Nov 2014 23:20:35 +0000 (18:20 -0500)]
GtkCssProvider: Factor out a function

Move finding the gtk.css file into its own function. We will
make this more complicated in the near future.

11 years agowidget-factory: Add some margins to text views
Matthias Clasen [Wed, 12 Nov 2014 22:23:45 +0000 (17:23 -0500)]
widget-factory: Add some margins to text views

11 years agogtk3-demo: Use better text margins
Matthias Clasen [Wed, 12 Nov 2014 21:05:49 +0000 (16:05 -0500)]
gtk3-demo: Use better text margins

We really want margins around the scrollable content, not around
the viewport. Make it so by using textview-specific properties.
This is unfortunately a little complicated for top/bottom.

11 years agoAdwaita: set scale trough margins where they belong.
Lapo Calamandrei [Wed, 12 Nov 2014 16:30:59 +0000 (17:30 +0100)]
Adwaita: set scale trough margins where they belong.

11 years agogtkrange: consider css margin on the slider
Lapo Calamandrei [Wed, 12 Nov 2014 16:20:53 +0000 (17:20 +0100)]
gtkrange: consider css margin on the slider

Css margin now works on the slider as they do on the trough.
The margin is not considered in the space allocation as it is for
the trough, so the slider width will be the set slider-width -
margins. Spefifying margins on the main widget in the css will
clearly affect both the trough and the slider, so theme changes are
needed.

11 years agoForgotten files
Matthias Clasen [Wed, 12 Nov 2014 12:17:59 +0000 (07:17 -0500)]
Forgotten files

11 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 12 Nov 2014 12:31:27 +0000 (13:31 +0100)]
Updated Spanish translation

11 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 12 Nov 2014 12:27:56 +0000 (13:27 +0100)]
Updated Spanish translation

11 years agoquery, searchengine: Drop unused and undefined function declarations
Debarshi Ray [Tue, 11 Nov 2014 15:17:13 +0000 (16:17 +0100)]
query, searchengine: Drop unused and undefined function declarations

https://bugzilla.gnome.org/show_bug.cgi?id=739977

11 years agoGtkActionBar: Make ::position writable
Matthias Clasen [Wed, 12 Nov 2014 04:02:11 +0000 (23:02 -0500)]
GtkActionBar: Make ::position writable

11 years agoGtkActionBar: Rename center_box to box
Matthias Clasen [Wed, 12 Nov 2014 04:01:16 +0000 (23:01 -0500)]
GtkActionBar: Rename center_box to box

11 years agoinspector: Turn off search where we don't have a search bar yet
Matthias Clasen [Wed, 12 Nov 2014 03:42:51 +0000 (22:42 -0500)]
inspector: Turn off search where we don't have a search bar yet

Avoid the builtin treeview search popup everywhere.

11 years agoStatusbar: add 'statusbar' style class
Lapo Calamandrei [Tue, 11 Nov 2014 16:23:04 +0000 (17:23 +0100)]
Statusbar: add 'statusbar' style class

11 years agoAdwaita: add a missing comma...
Lapo Calamandrei [Tue, 11 Nov 2014 15:11:20 +0000 (16:11 +0100)]
Adwaita: add a missing comma...

11 years agoGtkStack: Remove some clumsy use of GList API
Matthias Clasen [Mon, 10 Nov 2014 23:45:58 +0000 (18:45 -0500)]
GtkStack: Remove some clumsy use of GList API

No need for g_list_next(), and don't open-code g_list_index().

11 years agoinspector: Only set debug-updates for the default display
Matthias Clasen [Mon, 10 Nov 2014 20:24:08 +0000 (15:24 -0500)]
inspector: Only set debug-updates for the default display

Use the new private API to isolate the inspector itself from
this setting.

11 years agogdk: Make debug-updates a per-display setting
Matthias Clasen [Mon, 10 Nov 2014 20:23:14 +0000 (15:23 -0500)]
gdk: Make debug-updates a per-display setting

Add private API to set this per-display, and make the existing
gdk_window_set_debug_update function set a global default.

11 years agoinspector: Add a rendering mode control
Matthias Clasen [Mon, 10 Nov 2014 20:07:52 +0000 (15:07 -0500)]
inspector: Add a rendering mode control

11 years agogdk: Add private API for rendering mode
Matthias Clasen [Mon, 10 Nov 2014 19:39:57 +0000 (14:39 -0500)]
gdk: Add private API for rendering mode

This will be used to expose rendering mode in the inspector.

11 years agoMove rendering mode into GdkDisplay
Matthias Clasen [Mon, 10 Nov 2014 19:28:43 +0000 (14:28 -0500)]
Move rendering mode into GdkDisplay

This is in preparation for making it runtime-settable in the
inspector.

11 years agoconfigure.ac: Depend on cairo 1.14.0
Javier Jardón [Sat, 25 Oct 2014 19:23:16 +0000 (20:23 +0100)]
configure.ac: Depend on cairo 1.14.0

This is needed for cairo_set_device_scale()

11 years agowindow: GtkPlug is conditionally supported on X11 only
Emmanuele Bassi [Mon, 10 Nov 2014 14:08:20 +0000 (14:08 +0000)]
window: GtkPlug is conditionally supported on X11 only

We cannot do a type check on it if we don't have the X11 backend
compiled in.

https://bugzilla.gnome.org/show_bug.cgi?id=739885

11 years agogdk_window_end_paint: Flush destination surface after paint
Alexander Larsson [Mon, 10 Nov 2014 14:24:14 +0000 (15:24 +0100)]
gdk_window_end_paint: Flush destination surface after paint

It seems in cairo 1.14 we need this after having painted an image surface
to a X11 window surface (i.e. with GDK_RENDERING=image).

11 years agoUpdated Kazakh translation
Baurzhan Muftakhidinov [Mon, 10 Nov 2014 02:23:15 +0000 (02:23 +0000)]
Updated Kazakh translation

11 years agoInspector: hide the selector tab for non-widgets
Matthias Clasen [Sun, 9 Nov 2014 02:43:26 +0000 (21:43 -0500)]
Inspector: hide the selector tab for non-widgets

11 years agoinspector: Hide the size-groups tab when empty
Matthias Clasen [Sun, 9 Nov 2014 02:30:12 +0000 (21:30 -0500)]
inspector: Hide the size-groups tab when empty

11 years agoinspector: Hide the inspector tab when empty
Matthias Clasen [Sun, 9 Nov 2014 02:29:51 +0000 (21:29 -0500)]
inspector: Hide the inspector tab when empty

11 years agoSet the clip on range widgets
Matthias Clasen [Sat, 8 Nov 2014 17:55:03 +0000 (12:55 -0500)]
Set the clip on range widgets

This will allow better scrollbar theming.

11 years agoAdwaita: increase scrollbar slider contrast
Lapo Calamandrei [Sat, 8 Nov 2014 16:35:52 +0000 (17:35 +0100)]
Adwaita: increase scrollbar slider contrast

11 years agoinspector: Set statistics button sensitivity
Matthias Clasen [Sat, 8 Nov 2014 14:57:48 +0000 (09:57 -0500)]
inspector: Set statistics button sensitivity

After moving the button the header, it is now visible when
statistics are not available. Disable it in this case.

11 years agoinspector: Add more GL information
Matthias Clasen [Sat, 8 Nov 2014 07:16:35 +0000 (02:16 -0500)]
inspector: Add more GL information

Add version and extension information to the general tab.

11 years agoHide GdkWindow libgtk_only API in the private vtable
Emmanuele Bassi [Fri, 7 Nov 2014 14:33:53 +0000 (14:33 +0000)]
Hide GdkWindow libgtk_only API in the private vtable

These are the last two global GDK symbols that have a libgtk_only
suffix.

https://bugzilla.gnome.org/show_bug.cgi?id=739781

11 years agoMove GDK GL flags accessors to the private vtable
Emmanuele Bassi [Fri, 7 Nov 2014 14:27:56 +0000 (14:27 +0000)]
Move GDK GL flags accessors to the private vtable

This allows us to use the GDK_PRIVATE_CALL macro inside gtk.

https://bugzilla.gnome.org/show_bug.cgi?id=739781

11 years agoMake global GDK libgtk_only functions more private
Emmanuele Bassi [Fri, 7 Nov 2014 13:40:22 +0000 (13:40 +0000)]
Make global GDK libgtk_only functions more private

The current way of exposing GDK API that should be considered internal
to GTK+ is to append a 'libgtk_only' suffix to the function name; this
is not really safe.

GLib has been using a slightly different approach: a private table of
function pointers, and a macro that allows accessing the desired symbol
inside that vtable.

We can copy the approach, and deprecate the 'libgtk_only' symbols in
lieu of outright removal.

https://bugzilla.gnome.org/show_bug.cgi?id=739781

11 years agoinspector: Reserve space for buttons
Matthias Clasen [Sat, 8 Nov 2014 05:06:54 +0000 (00:06 -0500)]
inspector: Reserve space for buttons

Make the button area in the top left a stack that is parallel
to the main page stack. This avoids size changes as we switch
between pages.

11 years agoextract-strings: Handle property binding attributes
Matthias Clasen [Sat, 8 Nov 2014 05:08:40 +0000 (00:08 -0500)]
extract-strings: Handle property binding attributes

These attributes are now used in at least one place in the
GtkInspector ui files.

11 years agoinspector: Improve search on the statistics page
Matthias Clasen [Sat, 8 Nov 2014 04:40:31 +0000 (23:40 -0500)]
inspector: Improve search on the statistics page

Use a search bar here as well, instead of the builtin treeview popup.

11 years agoinspector: Move the record button up
Matthias Clasen [Sat, 8 Nov 2014 04:19:28 +0000 (23:19 -0500)]
inspector: Move the record button up

Give all the page space to the content.

11 years agoinspector: Shorten some labels
Matthias Clasen [Sat, 8 Nov 2014 03:57:14 +0000 (22:57 -0500)]
inspector: Shorten some labels

11 years agoinspector: Improve search in the resource tree
Matthias Clasen [Sat, 8 Nov 2014 01:38:42 +0000 (20:38 -0500)]
inspector: Improve search in the resource tree

Make search in the resource tree work the same way as the new
search in the object tree.

11 years agoinspector: Correct a tooltip
Matthias Clasen [Sat, 8 Nov 2014 01:10:12 +0000 (20:10 -0500)]
inspector: Correct a tooltip

11 years agogdkwindow-x11: Fix indentation
Jasper St. Pierre [Sat, 8 Nov 2014 01:39:43 +0000 (17:39 -0800)]
gdkwindow-x11: Fix indentation

11 years agoinspector: Remove unused variable
Jasper St. Pierre [Sat, 8 Nov 2014 00:33:43 +0000 (16:33 -0800)]
inspector: Remove unused variable

11 years agoinspector: Look for themes in the right places
Matthias Clasen [Fri, 7 Nov 2014 19:17:41 +0000 (14:17 -0500)]
inspector: Look for themes in the right places

Match the places that GtkCssProvider looks in, so we show all
the themes that GTK+ would actually find.

11 years agowayland: Schedule a clock tick instead of wl_surface_commit()ting directly
Carlos Garnacho [Tue, 4 Nov 2014 18:26:25 +0000 (19:26 +0100)]
wayland: Schedule a clock tick instead of wl_surface_commit()ting directly

Instead of possibly calling wl_surface_commit() out of
GdkFrameClock::after-paint, tick the transient parent clock so ::after-paint
can be eventually run.

This ensures that the subsurface coordinates (considered part of the state
of the parent) aren't committed untimely, and guaranteed to be orderly with
the wl_subsurface-relative state.

This is a gtk-side fix for https://bugzilla.gnome.org/show_bug.cgi?id=738887

11 years agowayland: Don't translate a NULL region into an empty one
Carlos Garnacho [Fri, 7 Nov 2014 16:16:59 +0000 (17:16 +0100)]
wayland: Don't translate a NULL region into an empty one

cairo_region_copy(NULL) will effectively return an empty region, as this
function is always meant to return valid memory. This however inverts the
meaning of the NULL region and results in entirely non-clickable windows.

11 years agogtkwindow: claim the press sequence when clicking on the titlebar
Carlos Garnacho [Fri, 7 Nov 2014 11:55:52 +0000 (12:55 +0100)]
gtkwindow: claim the press sequence when clicking on the titlebar

This event might not have an action yet, but certainly accounts, and
should be triggering recognition.

This fixes a crash when attempting to drag CSD windows through touch. As
since cfaec2d2f542, gtk_gesture_single_get_current_sequence() would
rightfully return NULL if the gesture didn't enter recognition, making
event lookup fail.

11 years agotreeview: remove single-click activation from GtkGestureMultiPress::pressed
Carlos Garnacho [Thu, 6 Nov 2014 12:07:05 +0000 (13:07 +0100)]
treeview: remove single-click activation from GtkGestureMultiPress::pressed

This is already handled in GtkGestureMultiPress::release, and more in
concordance with how it was done pre-gestures.

https://bugzilla.gnome.org/show_bug.cgi?id=737891

11 years agoRevert "Add new API to docs"
Matthias Clasen [Fri, 7 Nov 2014 12:12:22 +0000 (07:12 -0500)]
Revert "Add new API to docs"

This reverts commit 41e9eaf64fdabf49679db193778b15c44e3d0b52.

11 years agoinspector: include private gdk headers
Matthias Clasen [Fri, 7 Nov 2014 12:11:38 +0000 (07:11 -0500)]
inspector: include private gdk headers

...the advantages of living in the same tree.

11 years agoDon't make the gl flags API
Matthias Clasen [Fri, 7 Nov 2014 12:10:49 +0000 (07:10 -0500)]
Don't make the gl flags API

We need to export the symbols so they can be used in the
inspector, but we don't really want to make this supported
public API, so keep them out of installed headers.

11 years agoAdd new API to docs
Matthias Clasen [Fri, 7 Nov 2014 04:37:00 +0000 (23:37 -0500)]
Add new API to docs

11 years agoinspector: Add GL flags
Matthias Clasen [Fri, 7 Nov 2014 04:29:49 +0000 (23:29 -0500)]
inspector: Add GL flags

11 years agoExport API to set GL flags
Matthias Clasen [Fri, 7 Nov 2014 04:29:16 +0000 (23:29 -0500)]
Export API to set GL flags

This will be used in the inspector.

11 years agoAdwaita: scrollbar styling overhaul
Lapo Calamandrei [Thu, 6 Nov 2014 22:57:40 +0000 (23:57 +0100)]
Adwaita: scrollbar styling overhaul

  - finally added the missing border;
  - proper backdrop state styling;
  - tweaked overlay indicator;
  - sidebar special casing gone for now.

11 years agogdkgl: Make some helper functions static
Jasper St. Pierre [Thu, 6 Nov 2014 21:47:59 +0000 (13:47 -0800)]
gdkgl: Make some helper functions static

11 years agomir: rework cursors a bit
Ryan Lortie [Thu, 6 Nov 2014 20:28:51 +0000 (15:28 -0500)]
mir: rework cursors a bit

Store the cursor name on the cursor (rather than always using its type).

Use this when setting a cursor on a surface.

The mir server will fallback to using standard cursors from the cursor
theme if the name used is not one of those defined by mir, which is more
or less what we want to happen here in case of creating a cursor by
name.

11 years agomir: enable csd
William Hua [Mon, 3 Nov 2014 21:31:07 +0000 (16:31 -0500)]
mir: enable csd

11 years agomir: set cursor
William Hua [Mon, 3 Nov 2014 16:46:45 +0000 (11:46 -0500)]
mir: set cursor

11 years agoDrop an unneeded include
Matthias Clasen [Thu, 6 Nov 2014 20:17:09 +0000 (15:17 -0500)]
Drop an unneeded include

11 years agoGtkModelButton: protect against show_all
Matthias Clasen [Thu, 6 Nov 2014 20:01:03 +0000 (15:01 -0500)]
GtkModelButton: protect against show_all

We don't want the labels to be shown when there's already
an icon.

11 years agoGdkWindow: Drop gl matrix setup which is not needed anymore.
Alexander Larsson [Thu, 6 Nov 2014 19:37:24 +0000 (20:37 +0100)]
GdkWindow: Drop gl matrix setup which is not needed anymore.

11 years agogdk_gl_texture_from_surface: Enable scissor test
Alexander Larsson [Thu, 6 Nov 2014 19:37:10 +0000 (20:37 +0100)]
gdk_gl_texture_from_surface: Enable scissor test

11 years agogdk_gl_texture_quad: Fix handling of window scales
Alexander Larsson [Thu, 6 Nov 2014 18:33:24 +0000 (19:33 +0100)]
gdk_gl_texture_quad: Fix handling of window scales

11 years agoAdwaita: remove last child border on backdrop column headers
Lapo Calamandrei [Thu, 6 Nov 2014 16:21:50 +0000 (17:21 +0100)]
Adwaita: remove last child border on backdrop column headers

11 years agoAdwaita: initial overlay indicator styling
Lapo Calamandrei [Thu, 6 Nov 2014 11:39:34 +0000 (12:39 +0100)]
Adwaita: initial overlay indicator styling

11 years agoGdkX11GLContext: Use bitblit for swap if no buffer age support
Alexander Larsson [Thu, 6 Nov 2014 11:21:28 +0000 (12:21 +0100)]
GdkX11GLContext: Use bitblit for swap if no buffer age support

If buffer age is undefined and the updated area is not the whole
window then we use bit-blits instead of swap-buffers to end the
frame.

This allows us to not repaint the entire window unnecessarily if
buffer_age is not supported, like e.g. with DRI2.

11 years agoAdd gdk_gl_context_has_framebuffer_blit()
Alexander Larsson [Thu, 6 Nov 2014 11:13:08 +0000 (12:13 +0100)]
Add gdk_gl_context_has_framebuffer_blit()

This checks if the context supports GL_EXT_framebuffer_blit

11 years agoGdkGL: Fix up GL_ARB_texture_rectangle support
Alexander Larsson [Thu, 6 Nov 2014 10:31:01 +0000 (11:31 +0100)]
GdkGL: Fix up GL_ARB_texture_rectangle support

This broke when gdk_gl_texture_quad moved to shaders. We need
a specialized shader for the rectangle case.

11 years agoAdd support for GDK_GL=texture-rectangles
Alexander Larsson [Thu, 6 Nov 2014 10:29:51 +0000 (11:29 +0100)]
Add support for GDK_GL=texture-rectangles

This allows us to test our support for GL_ARB_texture_rectangle

11 years agoAdd GDK_GL env var and GdkGLFlags
Alexander Larsson [Thu, 6 Nov 2014 09:21:48 +0000 (10:21 +0100)]
Add GDK_GL env var and GdkGLFlags

This moves the GDK_ALWAYS_USE_GL env var to GDK_GL=always.
It also changes GDK_DEBUG=nogl to GDK_GL=disable, as GDK_DEBUG
is really only about debug loggin.

It also adds some completely new flags:

 software-draw-gl:
   Always use software fallback for drawing gl content to a cairo_t.
   This disables the fastpaths that exist for drawing directly to
   a window and instead reads back the pixels into a cairo image
   surface.

 software-draw-surface:
   Always use software fallback for drawing cairo surfaces onto a
   gl-using window.  This disables e.g. texture-from-pixmap on X11.

 software-draw:
   Enables both the above.

11 years agogdk_cairo_draw_from_gl: Remove useless call
Alexander Larsson [Thu, 6 Nov 2014 08:21:35 +0000 (09:21 +0100)]
gdk_cairo_draw_from_gl: Remove useless call

The glFramebufferTexture2DEXT call makes no sense here, we're
not using the texture as a framebuffer, just as a normal
texture source.

11 years agoGdkWindow: Try to use a Core 3.2 GL profile for the paint context
Alexander Larsson [Thu, 6 Nov 2014 08:15:03 +0000 (09:15 +0100)]
GdkWindow: Try to use a Core 3.2 GL profile for the paint context

If this is supported we avoid a lot of legacy baggage which we don't
need.

11 years agogdk_gl_texture_quad: Use shaders to texture things
Alexander Larsson [Thu, 6 Nov 2014 08:13:36 +0000 (09:13 +0100)]
gdk_gl_texture_quad: Use shaders to texture things

This is the modern way OpenGL works, and using it will let us
switch to a core context for the paint context, and work on
OpenGL ES 2.0.

11 years agoGdkGL: Rename "context" to "paint_context" to clarify things a bit
Alexander Larsson [Thu, 6 Nov 2014 08:12:40 +0000 (09:12 +0100)]
GdkGL: Rename "context" to "paint_context" to clarify things a bit

11 years agogdk_cairo_draw_from_gl: Document that this changes the current context
Alexander Larsson [Thu, 6 Nov 2014 08:11:17 +0000 (09:11 +0100)]
gdk_cairo_draw_from_gl: Document that this changes the current context

11 years agoGdkGLContextX11: Use passed in context, not get_current()
Alexander Larsson [Thu, 6 Nov 2014 08:10:34 +0000 (09:10 +0100)]
GdkGLContextX11: Use passed in context, not get_current()

11 years agoAdd gdk_gl_texture_quad() helper
Alexander Larsson [Wed, 5 Nov 2014 14:42:06 +0000 (15:42 +0100)]
Add gdk_gl_texture_quad() helper

Right now this just centralizes the glBegin/glEnd code, but
this will be replaced with buffer objects later.

11 years agogdkgl: Don't constantly re-create the tmp framebuffer
Alexander Larsson [Wed, 5 Nov 2014 14:19:00 +0000 (15:19 +0100)]
gdkgl: Don't constantly re-create the tmp framebuffer

11 years agoUpdated Greek translation
Dimitris Spingos [Thu, 6 Nov 2014 11:49:23 +0000 (13:49 +0200)]
Updated Greek translation

11 years agoGtkHeaderBar: Queue a resize when pack-type is changed
Matthias Clasen [Thu, 6 Nov 2014 06:04:13 +0000 (01:04 -0500)]
GtkHeaderBar: Queue a resize when pack-type is changed

Otherwise, buttons appear to stick to the wrong side in glade.

11 years agomir: Handle pointer up/down events without a button mask set (i.e. touch events)
Robert Ancell [Wed, 5 Nov 2014 22:12:18 +0000 (11:12 +1300)]
mir: Handle pointer up/down events without a button mask set (i.e. touch events)

The Mir backend was checking for button mask changes to generate the appropriate
GDK event. When Mir generates a touch event it has no button mask. In this case
we'll just generate a primary button event.

11 years agoAdwaita: dim GtkPlacesSidebar icons color
Lapo Calamandrei [Wed, 5 Nov 2014 15:01:28 +0000 (16:01 +0100)]
Adwaita: dim GtkPlacesSidebar icons color

11 years agotests: Add deprecation guards
Benjamin Otte [Wed, 5 Nov 2014 12:05:56 +0000 (13:05 +0100)]
tests: Add deprecation guards

It's the last test still spewing these and I'm too lazy to do a proper
fix.

11 years agowidget-factory: Fill up page 2 properly
Matthias Clasen [Wed, 5 Nov 2014 11:29:47 +0000 (06:29 -0500)]
widget-factory: Fill up page 2 properly

The collapsed expander leaves and odd empty corner, so expand
it initially.

11 years agowidget-factory: Add another osd
Matthias Clasen [Wed, 5 Nov 2014 05:27:13 +0000 (00:27 -0500)]
widget-factory: Add another osd

This is modeled after the totem osd.

11 years agoGdkGLContextX11: Only set swap interval when it changed
Alexander Larsson [Wed, 5 Nov 2014 11:02:18 +0000 (12:02 +0100)]
GdkGLContextX11: Only set swap interval when it changed

11 years agoGdkGL: Fix and clean up gdk_cairo_draw_from_gl()
Alexander Larsson [Wed, 5 Nov 2014 08:52:51 +0000 (09:52 +0100)]
GdkGL: Fix and clean up gdk_cairo_draw_from_gl()

This was unnecessarily creating a framebuffer in the texture case,
and it was not properly setting up a framebuffer with the texture
as source in the software fallback w/ texture source case.